NDepend.API Documentation
ParentNamespaces(IEnumerable<IField>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > ParentNamespaces Method : ParentNamespaces(IEnumerable<IField>) Method
This sequence of IField objects.
Returns a sequence of INamespace objects, containing all IMember.ParentNamespace objects of all IField objects contained in this sequence fields.
Syntax
[Extension()]
public static IEnumerable<INamespace> ParentNamespaces( 
   IEnumerable<IField> fields
)

Parameters

fields
This sequence of IField objects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List